package com.by.component.contract;

import com.by.component.contract.dto.*;
import com.by.toolkit.model.PageReq;
import com.by.toolkit.model.PageResp;

import java.util.List;
import java.util.Map;

public interface ContractInfoService {

    void saveContractInfo(AddContractSDTO dto);

    void editContractInfo(EditContractSDTO dto);

    ContractInfo4AdminSDTO contractInfo4Admin(Long contractInfoId);

    PageResp<ContractInfo4PageSDTO> queryPage(PageReq<ContractInfo4PageSDTO> req);

    boolean verifyUserFlag(Long contractInfoId);

    ContractInfo4DeliverSDTO queryContractInfo4Deliver(Long contractSignRecordId);

    Map<Long, String> contractNameMap(List<Long> contractIds);

}
